package com.efast.cafe.portal.bean.common;

import java.io.Serializable;

public class EntityFieldInfoBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6374085428071042122L;

	private EntityFieldDetailBean field;
	
	private String validation;
	
	private String display;
	
	public EntityFieldInfoBean(String at_i18nKey,String at_fieldName,Integer at_fieldType,String at_defaultValue,String at_referEntity,String at_referPro,Integer at_isPk){
		field = new EntityFieldDetailBean();
		field.setDefaultValue(at_defaultValue);
		field.setFieldName(at_fieldName);
		field.setFieldType(at_fieldType);
		field.setI18nName(at_i18nKey);
		field.setIsPk(at_isPk);
		field.setReferEntity(at_referEntity);
		field.setReferPro(at_referPro);
	}
	
	public EntityFieldInfoBean(){
		
	}

	public EntityFieldDetailBean getField() {
		return field;
	}

	public void setField(EntityFieldDetailBean field) {
		this.field = field;
	}

	public String getValidation() {
		return validation;
	}

	public void setValidation(String validation) {
		this.validation = validation;
	}

	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}
	
	
}
